<h1><%= title "New Improvement" %></h1>

<% form_for(@improvement) do |f| %>
  <%= f.error_messages %>

  <p>
		<%= f.label :name %><br />
    <%= f.text_field :name %>
  </p>
  <p>
		<%= f.label :price %><br />
    <%= f.text_field :price %>
  </p>
  <p>
		<%= f.label :income_gold %><br />
    <%= f.text_field :income_gold %>
  </p>
  <p>
		<%= f.label :income_prestige %><br />
    <%= f.text_field :income_prestige %>
  </p>
  <p>
		<%= f.label :fortification %><br />
    <%= f.text_field :fortification %>
  </p>
  <p>
		<%= f.label :masters %><br />
    <%= f.text_field :masters %>
  </p>
  <p>
		<%= f.label :grooms %><br />
    <%= f.text_field :grooms %>
  </p>
  <p>
		<%= f.label :pages %><br />
    <%= f.text_field :pages %>
  </p>
  <p>
		<%= f.label :ladies %><br />
    <%= f.text_field :ladies %>
  </p>
  <p>
		<%= f.label :guards %><br />
    <%= f.text_field :guards %>
  </p>
  <p>
    <%= f.submit "Create" %>
  </p>
<% end %>

<%= link_to 'Back', improvements_path %>